﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SessionTest.aspx.cs" Inherits="SessionTest" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript">
    
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" EnableHistory="true" LoadScriptsBeforeUI="true">
        <Services>
            <asp:ServiceReference Path="DefaultWebService.asmx" />
        </Services>
    </asp:ScriptManager>
    <div>
        <asp:Button runat="server" Text="Add" ID="btnAdd" OnClick="btnAdd_Click" />
        <asp:Button runat="server" Text="Get" ID="btnGet" OnClick="btnGet_Click" />
    </div>
    <div runat="server" id="divMsg">
    </div>
    <div>
    </div>
    <input type="button" value="Add" onclick="javascript:AddValue('key','value')" />
    <input type="button" value="Get" onclick="alert(GetValue('key'))" />
    </form>
</body>
</html>
